package com.gxuwz.entity;

import javax.persistence.*;

/**
 * 设备实体
 * @author 小胡  
 * @date 2017年5月28日
 */
@Entity
@Table(name = "sys_equipment")
public class SysEquipment extends BaseEntity{

	private static final long serialVersionUID = 2392158535848744394L;
	@Column(name = "equip_name")
	private String equipName; // 设备名称
	@Column(name = "equip_type")
	private String equipType; // 设备类型（话筒、投影、功放、空调、电脑）
	@Column(name = "equip_manufacture_date")
	private String manufactureDate; // 生产日期
	@Column(name = "equip_repair_date")
	private String repairDate; // 保修日期
	@Column(name = "equip_manufacturer")
	private String manufacturer; // 厂商
	@Column(name = "equip_create_user_name")
	private String createUserName; // 创建该角色的用户ID
	@Column(name = "equip_create_date")
	private String createDate; // 创建日期
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "lab_id")
	private SysLaboratory laboratory;

	public SysEquipment() {
	}

	public String getEquipName() {
		return equipName;
	}

	public void setEquipName(String equipName) {
		this.equipName = equipName;
	}

	public String getEquipType() {
		return equipType;
	}

	public void setEquipType(String equipType) {
		this.equipType = equipType;
	}

	public String getManufactureDate() {
		return manufactureDate;
	}

	public void setManufactureDate(String manufactureDate) {
		this.manufactureDate = manufactureDate;
	}

	public String getRepairDate() {
		return repairDate;
	}

	public void setRepairDate(String repairDate) {
		this.repairDate = repairDate;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public SysLaboratory getLaboratory() {
		return laboratory;
	}

	public void setLaboratory(SysLaboratory laboratory) {
		this.laboratory = laboratory;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	
}
